package com.bbdjt.weixin.service;

import java.util.List;
import com.bbdjt.weixin.model.LeaveWord;
import com.bbdjt.weixin.model.LeaveWordQueryModel;
import com.github.pagehelper.PageInfo;
import com.bbdjt.weixin.base.service.BaseService;

public interface LeaveWordService extends BaseService<LeaveWord> {

	 /**
     * 根据条件分页查询
     *
     * @param country
     * @param page
     * @param rows
     * @return
     */
    List<LeaveWord> selectByLeaveWord(LeaveWord leaveWord, int page, int rows);
    
     /**
     * 根据条件查询
     *
     * @param country
     * @return
     */
    List<LeaveWord> selectByLeaveWord(LeaveWord leaveWord);
    
    List<LeaveWord> selectByLeaveWord(LeaveWordQueryModel leaveWord);
    
    /**
     * 分页查询
     *
     * @param queryModel
     * @return
     */
    PageInfo<LeaveWordQueryModel> selectByLeaveWordQueryModel(LeaveWordQueryModel leaveWord);

	List<LeaveWord> selectAllleaveWord(LeaveWord leaveWord);

}